/**
 * 
 */
package cn.buk.tms.eotms.entity;

import jakarta.persistence.*;
import java.util.Date;

/**
 * @author Administrator
 * 证件类型
 */
@Entity
@Table(name = "t009")
public class IDType {

	/**
	 * 证件类型的唯一标识
	 */
	@Id
	@Column(name="id")
	private int id;

	/**
	 * 1-身份证 NI
	 * 2-护照 PP
	 * 4-港澳通行证 HTPP
	 * 8-台胞证 MTP
	 *16-回乡证 ORI
	 *32-台湾通行证 TPP
	 * 64-军官证 MIL
	 * 65-户口簿 HR
	 * 66-出生证明 BR
	 * 67-外国人永久居住身份证 FPRC
	 * 68-港澳居民居住证 GAT
	 * 69-台湾居民居住证 RPTW
	 * 99-其他 OTHER
	 */
	@Column(name = "id_type")
	private int idType;
	
	/**
	 * 证件名称
	 */
	@Column(name="id_name", length=20, nullable=false)
	private String idName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time", insertable = false, updatable = false)
	private Date createTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "lastupdate", insertable = false)
	private Date lastUpdate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIdName() {
		return idName;
	}

	public void setIdName(String idName) {
		this.idName = idName;
	}

	public int getIdType() {
		return idType;
	}

	public void setIdType(int idType) {
		this.idType = idType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(Date lastUpdate) {
		this.lastUpdate = lastUpdate;
	}
}
